<#include '/pages/taglib/core.ftl'>
<#include '/pages/taglib/common.ftl'>
<#include '/pages/taglib/container.ftl'>
<#include '/pages/espirit/common/jpage.header.ftl'>

<style>
	.pwdCtn {
		padding-top: 10px;
	}
	.pwdCtn .j-form-item .label {
		width: 120px;
	}
	.pwdCtn .j-form-item .span {
		margin-left: 128px;
	}
	.pwdBtn {
		padding: 5px 0 0 88px;float:left;
	}
</style>
<@form name='changePasswordForm' action='/espirit/eap/sa/user.changePassword.html?_resultCode=$noResult'>
	<@container clazz="pwdCtn">
		<#if execute??>
			<@hidden name='verifyKey' value=execute/>
		<#else>
			<@password name='oldPassword' label='旧密码' required=true/>
		</#if>
		<@password name='password' label='新密码' required=true/>
		<@password name='password2' label='确认新密码' required=true/>
	</@container>
	
	<div class="pwdBtn">
		<@button label='action.save' onclick="changePassword(this)"/>
	</div>
</@form>
<#include '/pages/espirit/common/jpage.footer.ftl'>